﻿ALTER TABLE [dbo].[TemplateInstances] ADD
CONSTRAINT [FK__TemplateI__Templ__1FCDBCEB] FOREIGN KEY ([TemplateId]) REFERENCES [dbo].[PackageTemplates] ([TemplateId]) ON DELETE CASCADE


